package cn.cvs.dao.sysRole;

import cn.cvs.pojo.SysRole;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SysRoleMapper {

    List<SysRole> selectSysRoleList(@Param("roleName") String roleName,@Param("pageBegin")Integer pageBegin,@Param("pageSize")Integer pageSize);

    Integer selectInformation(int id);

    int addSysRole(SysRole sysRole);

    int deleteSysRole(int id);

    int updateSysRole(SysRole sysRole);
}
